import TipSize from '../../../components/Tip'
import { connect } from 'dva'
import router  from 'umi/router'
const Tip = () => {
  const tipData = {
    tipType: 'success',
    titleBig: '电子合同签署成功',
    buttonData:{
      content: '返回',
      act: () => {
        router.push({
          pathname: '/contractSign'
        })
      }
    }
  }
  return (
    <TipSize {...tipData}></TipSize>
  )
}
export default connect(state => state.contractSign)(Tip)